[NET] back: fix synchronisation of access to deallocation buffer ring.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 5 Jun 2006 14:14:58 +0000 (15:14 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 5 Jun 2006 14:14:58 +0000 (15:14 +0100)
commit08f2d66ff68e069cc7cc6f6ec3097aa545568527
tree0ae171c97b4ad6259d4d81423617d1746732a164
parentd3a5ffe775160fb42bee1be875b5d0c3da11129d
[NET] back: fix synchronisation of access to deallocation buffer ring.
Must ensure ring is written to before producer index is incremented.
Bug diagnosed by Ky Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netback/netback.c